package com.prs.crm.dao.oa.schedule.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.oa.schedule.WorkPlanDao;
import com.prs.crm.domain.oa.schedule.WorkPlan;
public class WorkPlanDaoImpl extends BaseDaoImpl<WorkPlan> implements WorkPlanDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<WorkPlan> getAllWorkPlan() {
		Criteria criteria=this.getSession().createCriteria(WorkPlan.class);
		return criteria.list();
	}
	
}
